package com.kdx.wallet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kdx.wallet.entity.Prod;
import com.kdx.wallet.entity.Wallet;

public interface ProdService extends IService<Prod> {
    /**
     *购买商品
     */
    boolean buyProd(Integer userId,Integer prodId);

    /**
     * 申请退款
     */
    boolean requestRefund(Integer userId, Integer prodId);
}
